package com.future.bantang.entity;

import java.util.List;

/**
 * Created by zzh on 2016/1/15.
 * 搜索界面单品栏数据
 */
public class SearchCategoryListEntity {

    private int status;
    private String msg;
    private int ts;
    private List<DataEntity> data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }

    public int getTs() {
        return ts;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String name;
        private String en_name;
        private String icon;

        private List<SubclassEntity> subclass;

        public void setId(String id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setEn_name(String en_name) {
            this.en_name = en_name;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public void setSubclass(List<SubclassEntity> subclass) {
            this.subclass = subclass;
        }

        public String getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getEn_name() {
            return en_name;
        }

        public String getIcon() {
            return icon;
        }

        public List<SubclassEntity> getSubclass() {
            return subclass;
        }

        public static class SubclassEntity {
            private String id;
            private String name;
            private String icon;

            public void setId(String id) {
                this.id = id;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getId() {
                return id;
            }

            public String getName() {
                return name;
            }

            public String getIcon() {
                return icon;
            }
        }
    }
}
